package com.bezdelnick.forum.dao;

import com.bezdelnick.forum.domain.UserRole;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Bezdelnick
 * Date: 21.08.12
 * Time: 17:21
 * To change this template use File | Settings | File Templates.
 */
public interface IRoleDao {
    public List<UserRole> loadRolesByUserId(long id);
    public boolean insertRolesByUserId(long id, String[] roles);
    public boolean deleteRolesByUserId(long id);
}
